Skip to content

Conversation

@hassoncs
Copy link
Contributor

Add support for Fill-in-the-Middle (FIM) completion in the chat text area, providing ghost text suggestions based on the currently visible code context. Includes new message types for requesting visible code and chat completions, updated webview handlers, enhanced UI components with Tab acceptance and Escape cancellation, and new service modules for context tracking and autocomplete logic.

2025-11-24 10 19 38

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

⚠️ No Changeset found

Latest commit: f7f1b97

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hassoncs hassoncs force-pushed the visible-code-completions-in-chat branch from 2512164 to bdc510e Compare December 3, 2025 19:03
- Implemented chat text area autocomplete feature with new message handling for chat completion requests.
- Introduced new types for chat completion requests and results in `types.ts`.
- Updated `ExtensionMessage` and `WebviewMessage` to support chat completion messages.
- Styled ghost text for autocomplete suggestions in CSS.
- Refactored `ChatTextArea` component to utilize a custom hook for handling ghost text input and display.
- Enhanced HTML escaping utility to be exported for broader use.
@hassoncs hassoncs force-pushed the visible-code-completions-in-chat branch from bdc510e to d2ab596 Compare December 3, 2025 19:03
- Added `enableChatAutocomplete` option to ghost service settings schema.
- Updated `ChatTextArea` to utilize the new autocomplete feature based on the settings.
- Enhanced `useChatGhostText` hook to conditionally request completions based on the new setting.
- Implemented UI components for toggling chat autocomplete in the settings view.
- Updated localization files to include translations for the new chat autocomplete feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants